<?php	require_once(dirname(__FILE__).'/inc/config.inc.php'); ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>管理首页</title>
<link href="templates/css/style.css" rel="stylesheet" type="text/css" />

</head>

<body class="mainbody">
<form method="post" action="center.aspx" id="form1">
<!--导航栏-->
<div class="location">
  <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
  <a class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <span>管理中心</span>
</div>
<!--/导航栏-->

<!--内容-->
<div class="line10"></div>
<div class="nlist-1">
  <ul>
    <li>本次登录IP：<?php echo GetIP(); ?></li>
    <li>上次登录IP：<?php echo $_SESSION['lastloginip']; ?></li>
    <li>上次登录时间：<?php echo MyDate('Y-m-d H:i',$_SESSION['logintime']); ?></li>
  </ul>
</div>

<div class="line10"></div>
<div class="nlist-2">
  <h3><i></i>站点信息</h3>
  <ul>
    <li>站点名称：<?php if($_SESSION['siteid']!=1){ $cfg_webname= 'cfg_webname_'.$cfg_sitekey;  echo $$cfg_webname ;} 
	else echo $cfg_webname;?></li>
	 <li>操作系统：<?php echo PHP_OS; ?></li>
    <li>网站域名：<?php echo $_SERVER['SERVER_NAME']; ?></li>
	
   <li>服务器IP：<?php echo $_SERVER['REMOTE_ADDR']; ?></li>
    <li>服务器版本：<?php echo ReStrLen($_SERVER['SERVER_SOFTWARE'],30,''); ?></li>
	 <li>php.ini支持上传的最大文件：<?php echo ini_get('upload_max_filesize'); ?></li>
 
	  <li>服务器端口：<?php echo $_SERVER['SERVER_PORT']; ?></li>
    <li>MySql版本： <?php echo $dosql->GetVersion(); ?></li>
  
	<li>POST提交内容限制： <?php echo get_cfg_var('post_max_size'); ?></li>
    <li>目录物理路径：<?php echo $_SERVER['DOCUMENT_ROOT']; ?></li>
	 <li>程序版本：<span title="PHPMyWind"><?php echo $cfg_vernum; ?></span></li>

    <li>程序设置最大上传：<?php echo number_format($cfg_max_file_size/(1024*1024)); ?>M</li>
	<li>网站根目录：<?php echo $cfg_webpath;?></li>
	<li>模板：<?php echo $cfg_theme;?></li>
    
	
  </ul>
</div>
<div class="line20"></div>


<!--/内容-->

</form>
</body>
</html>